package cn.zhou;

import java.util.Scanner;

public class test2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入作为程序员的你的工作的工龄:");
        int age = sc.nextInt();
        System.out.print("请输入作为程序员的你的基本工资为");
        int money = sc.nextInt();
        int money1;
        if (age>=1&&age<3){
            money1=money+3000;
        }else if (age>=3&&age<5){
            money1=money+5000;
        }else if (age>=5&&age<10){
            money1=money+10000;
        }else if (age>=10&&age<15){
            money1=money+20000;
        }else {
            money1=0;
        }
        System.out.println("您目前工作了"+age+"年，"+"基本工资为"+money+"元，"+"应涨工资"+(money1-money)+"元，"+"涨后工资"+money1+"元");
    }
}
